home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c-part1 / 3383 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  751 b 

  1. Path: airdmhor.gen.nz!not-for-mail
  2. From: gumboot@airdmhor.gen.nz (Simon Hosie)
  3. Newsgroups: comp.lang.c
  4. Subject: Re: a dump question from a novice C programmer
  5. Date: 29 Jan 1996 04:02:54 +1300
  6. Organization: Airdmhor
  7. Message-ID: <4eg36u$ibt@airdmhor.gen.nz>
  8. References: <jyli-2801960040100001@li.gsfc.nasa.gov>
  9. NNTP-Posting-Host: localhost.gen.nz
  10. X-Newsreader: TIN [version 1.2 PL2]
  11.  
  12. Jason Li:
  13. > I have just started programming in C, still feel dizzy sometimes when
  14. > looking at cryptic C code.  Occasionally I come across code like this: 
  15.  
  16. > for (iv=0; iv < specp->nlvars; iv++)
  17.  
  18. > what does this symbol "->" mean? I've looked all over my C books,  could
  19. > not find anything on it. 
  20.  
  21.   Does reading it as "for (iv=0; iv < (*specp).nlvars; iv++)" help?
  22.